home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group98c.txt / 000103_icon-group-sender _Mon Dec 7 14:40:40 1998.msg < prev    next >
Internet Message Format  |  2000-09-20  |  2KB

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) id OAA29911
  4.     for icon-group-addresses; Mon, 7 Dec 1998 14:40:32 -0700 (MST)
  5. Message-Id: <199812072140.OAA29911@baskerville.CS.Arizona.EDU>
  6. Date: Mon, 7 Dec 1998 10:30:23 -0700
  7. From: Gregg Townsend <gmt@optima.CS.Arizona.EDU>
  8. To: Paul_A._Sue@ismbc.com, icon-group@optima.CS.Arizona.EDU
  9. Subject: Re:  Icon to C interface
  10. Errors-To: icon-group-errors@optima.CS.Arizona.EDU
  11. Status: RO
  12.  
  13.     From: "Paul A. Sue" <Paul_A._Sue@ismbc.com>
  14.     To: icon-group@optima.CS.Arizona.EDU
  15.     Date: Thu, 3 Dec 1998 15:05:19 -0800
  16.     
  17.     ...I would like to know if there is a way to interface Icon with C
  18.     (i.e. call C functions from Icon, or call an Icon procedure from C) ??
  19.  
  20.  
  21. It is fairly easy to call C functions from Icon under Unix if you're
  22. willing to write the functions specifically to interface to Icon.
  23. See the "dynamic loading" section of
  24.     http://www.cs.arizona.edu/icon/docs/ipd240.htm
  25.  
  26. (If anyone has figured out how to make this work under IBM AIX 4.2,
  27.  I'd like to hear from them; it doesn't like my shared library. )
  28.  
  29. There's no easy way to call Icon code from C other than by communication
  30. with an Icon program running in a separate process.  (System(), pipe, etc.)
  31.  
  32.    ---------------------------------------------------------------------------
  33.    Gregg Townsend              Gould-Simpson Building   gmt@cs.arizona.edu
  34.    Staff Scientist             1040 E. 4th St.          32 13 45N  110 57 16W
  35.    Dept. of Computer Science   PO Box 210077            tel: +1 520 621 4325
  36.    The University of Arizona   Tucson, AZ  85721-0077   fax: +1 520 621 4246
  37.